package com.sys.user.domain;


import com.sys.core.init.mysql.BaseEntity;
import com.sys.core.init.mysql.annotation.Column;
import com.sys.core.init.mysql.annotation.Entity;
import com.sys.core.init.mysql.annotation.Id;
import com.sys.core.init.mysql.annotation.Table;

/**
 * Created by 汤伟杰 on 2017/6/17.
 */
@Entity
@Table(name="czj_xy_userrole",describe = "用户角色关联")
public class Xyuserrole extends BaseEntity {
    @Id
    @Column(defalt = "用户角色关联id",length = 19,inputType = "hidden")
    private String userroleId;
    @Column(defalt = "角色",length = 19,inputType = "hidden")
    private String userId;
    @Column(defalt = "用户",length = 19,inputType = "hidden")
    private String roleId;

    public String getUserroleId() {
        return userroleId;
    }

    public void setUserroleId(String userroleId) {
        this.userroleId = userroleId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }
}
